Optimal. Leaf size=43 \[ -\frac {1}{3 b x^3}+\frac {c}{b^2 x}+\frac {c^{3/2} \tan ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {b}}\right )}{b^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 43, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.176, Rules used = {1598, 331, 211}
\begin {gather*} \frac {c^{3/2} \text {ArcTan}\left (\frac {\sqrt {c} x}{\sqrt {b}}\right )}{b^{5/2}}+\frac {c}{b^2 x}-\frac {1}{3 b x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 211
Rule 331
Rule 1598
Rubi steps
\begin {align*} \int \frac {1}{x^2 \left (b x^2+c x^4\right )} \, dx &=\int \frac {1}{x^4 \left (b+c x^2\right )} \, dx\\ &=-\frac {1}{3 b x^3}-\frac {c \int \frac {1}{x^2 \left (b+c x^2\right )} \, dx}{b}\\ &=-\frac {1}{3 b x^3}+\frac {c}{b^2 x}+\frac {c^2 \int \frac {1}{b+c x^2} \, dx}{b^2}\\ &=-\frac {1}{3 b x^3}+\frac {c}{b^2 x}+\frac {c^{3/2} \tan ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {b}}\right )}{b^{5/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 43, normalized size = 1.00 \begin {gather*} -\frac {1}{3 b x^3}+\frac {c}{b^2 x}+\frac {c^{3/2} \tan ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {b}}\right )}{b^{5/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.10, size = 39, normalized size = 0.91
method | result | size |
default | \(\frac {c^{2} \arctan \left (\frac {c x}{\sqrt {b c}}\right )}{b^{2} \sqrt {b c}}-\frac {1}{3 b \,x^{3}}+\frac {c}{b^{2} x}\) | \(39\) |
risch | \(\frac {\frac {c \,x^{2}}{b^{2}}-\frac {1}{3 b}}{x^{3}}+\frac {\left (\munderset {\textit {\_R} =\RootOf \left (b^{5} \textit {\_Z}^{2}+c^{3}\right )}{\sum }\textit {\_R} \ln \left (\left (3 \textit {\_R}^{2} b^{5}+2 c^{3}\right ) x -b^{3} c \textit {\_R} \right )\right )}{2}\) | \(64\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.51, size = 40, normalized size = 0.93 \begin {gather*} \frac {c^{2} \arctan \left (\frac {c x}{\sqrt {b c}}\right )}{\sqrt {b c} b^{2}} + \frac {3 \, c x^{2} - b}{3 \, b^{2} x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.33, size = 106, normalized size = 2.47 \begin {gather*} \left [\frac {3 \, c x^{3} \sqrt {-\frac {c}{b}} \log \left (\frac {c x^{2} + 2 \, b x \sqrt {-\frac {c}{b}} - b}{c x^{2} + b}\right ) + 6 \, c x^{2} - 2 \, b}{6 \, b^{2} x^{3}}, \frac {3 \, c x^{3} \sqrt {\frac {c}{b}} \arctan \left (x \sqrt {\frac {c}{b}}\right ) + 3 \, c x^{2} - b}{3 \, b^{2} x^{3}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 87 vs.
\(2 (37) = 74\).
time = 0.10, size = 87, normalized size = 2.02 \begin {gather*} - \frac {\sqrt {- \frac {c^{3}}{b^{5}}} \log {\left (- \frac {b^{3} \sqrt {- \frac {c^{3}}{b^{5}}}}{c^{2}} + x \right )}}{2} + \frac {\sqrt {- \frac {c^{3}}{b^{5}}} \log {\left (\frac {b^{3} \sqrt {- \frac {c^{3}}{b^{5}}}}{c^{2}} + x \right )}}{2} + \frac {- b + 3 c x^{2}}{3 b^{2} x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 4.81, size = 40, normalized size = 0.93 \begin {gather*} \frac {c^{2} \arctan \left (\frac {c x}{\sqrt {b c}}\right )}{\sqrt {b c} b^{2}} + \frac {3 \, c x^{2} - b}{3 \, b^{2} x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 4.14, size = 37, normalized size = 0.86 \begin {gather*} \frac {c^{3/2}\,\mathrm {atan}\left (\frac {\sqrt {c}\,x}{\sqrt {b}}\right )}{b^{5/2}}-\frac {\frac {1}{3\,b}-\frac {c\,x^2}{b^2}}{x^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________